function calcCheckIn(checkinRecord) {
    var recordNum = checkinRecord.length;
	console.log("recordNum=" + recordNum);

	for (var i = 0; i < recordNum; i++) {
	    var record = checkinRecord[i];
		console.log("id=" + record.id + " name=" + record.name);
	} 
}

